// ignore_for_file: prefer_const_constructors, prefer_const_literals_to_create_immutables
import 'package:flutter/material.dart';
import 'package:junyeyishu/ui/bulletin/QGBulletinPage.dart';

import 'package:junyeyishu/widgets/QGWidget.dart';
import '/utils/utils.dart';

class QGBulletinAboutGoodsPage extends QGBulletinPage {
  String pid;
  QGBulletinAboutGoodsPage({super.key, required this.pid});
  @override
  State<QGBulletinPage> createState() => _QGBulletinAboutGoodsPageState();
}

class _QGBulletinAboutGoodsPageState extends QGBulletinPageState {
  @override
  onRefresh() {
    listURL = url_anno;

    return super.onRefresh();
  }

  @override
  listParam() {
    var wid = widget as QGBulletinAboutGoodsPage;
    return {"pid": wid.pid};
  }

  @override
  Widget build(BuildContext context) {
    return QGScaffold(
        title: '相关公告',
        bgColor: Color(0xFF0C1012),
        body: Column(children: [SizedBox(height: 10.rpx), buildList()]));
  }
}
